.PHONY:all
all:tcp_client tcp_server
tcp_client:TcpClient.cc
	g++ -o $@ $^ -lpthread
tcp_server:TcpServer.cc
	g++ -o $@ $^ -lpthread
.PHONY:clean
clean:
	rm -f tcp_client
	rm -f tcp_server